<?php

class Main extends UI_MobilePage {

    public function __construct() {
        parent::__construct();

        $p = $this->createPage("Zenmo Framework - zenmo.net");
        

        $text = "
        <p>
	Zenmo is a framework to build mobile applications on the web. Zenmo uses a Zend Framework
        on the server and jQuery Mobile on client. You can create complete applications with various
        components using a simple object orientation approach.
	</p>
        <p>
        All this site is build with Zenmo and the source can be viewed in the <a href=\"http://code.google.com/p/zenmo/\">google code</a>. See the list
        above to know how to use Zenmo Framework.
        </p>
        ";

	$p->add(new UI_Text($text));

        $menu = new UI_ListViewBox("Menu");
        $menu->add(new UI_ListView_ItemLink($this->getUrl("site:Features"),"Features"));
        $menu->add(new UI_ListView_ItemLink($this->getUrl("site:Download"),"Download"));
        $menu->add(new UI_ListView_ItemLink($this->getUrl("site:Install"),"Install"));
        $menu->add(new UI_ListView_ItemLink($this->getUrl("site:Tutorial"),"Tutorial"));
	$menu->add(new UI_ListView_ItemLink($this->getUrl("site:Components"),"Components"));
	$menu->add(new UI_ListView_ItemLink($this->getUrl("examples:Main"),"Examples"));
	
        $p->add($menu);
	
    }

}

?>